#include "structs.h"
#include <cmath>
#include <limits>
#include <boost\numeric\interval.hpp>

const double eps = 4 * std::numeric_limits<double>::epsilon();

int left_turn(const point&, const point&, const point&);
int exact_left_turn(const point&, const point&, const point&);
void value_left_turn(const point&, const point&, const point&, mpq_t&);